package com.entrogy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName LateStudentEntity
 * @Description 迟到学生实体
 * @Author luoxingjiang
 * @Date 2019/7/11 0011 上午 9:56
 * @Version 1.0
 **/
@SuppressWarnings("serial")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class AttendanceExceptionStudentEntity {

    private Integer id;

    private Integer schoolCode;

    private Integer studentId;

    private String studentName;

    private String className;

    //班主任电话
    private String leaderPhone;

    //家长电话
    private String parentPhone;

    //通行记录
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date passTime;



}
